200
|
Disables the control
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.Series.Add("<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South Americ" +
"a(433),<img>6</img>Australia/Oceania(42)",null);
exgraph1.Enabled = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
199
|
Show icons
exgraph1.BeginUpdate();
exgraph1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgraph1.AutoFit = true;
exgraph1.Series.Add("<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South Americ" +
"a(433),<img>6</img>Australia/Oceania(42)",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
198
|
Displays the control's version
System.Diagnostics.Debug.Print( exgraph1.Version );
|
197
|
Changes the control's border (EBN)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Appearance = (exontrol.EXGRAPHLib.AppearanceEnum)0x1000000;
exgraph1.Series.Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
196
|
Changes the control's border
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.Appearance = exontrol.EXGRAPHLib.AppearanceEnum.Flat;
exgraph1.Series.Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
195
|
Display the logo on the control's background
exgraph1.BeginUpdate();
exgraph1.Picture = (exgraph1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\card.png`)") as Object);
exgraph1.PictureDisplay = exontrol.EXGRAPHLib.PictureDisplayEnum.UpperRight;
exgraph1.AutoFit = true;
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
194
|
Changes the control's font
exgraph1.BeginUpdate();
stdole.IFontDisp var_StdFont = exgraph1.Font;
var_StdFont.Name = "Tahoma";
var_StdFont.Size = 12;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.Type = "Pie";
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
193
|
Shows the value-scroll (vertical scroll bar for area-compatible chart types)
exgraph1.BeginUpdate();
exgraph1.ValueSize = 8;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exAllowValueScroll,1.5);
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
192
|
No values are shown
exgraph1.BeginUpdate();
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exShowValueIf,0);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + value";
exgraph1.EndUpdate();
|
191
|
No labels on category-axis are shown
exgraph1.BeginUpdate();
exgraph1.ValueSize = 15;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exShowLabelsIf,0);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Date";
var_CategoryAxis.Format = "value mid 9 left 2";
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
190
|
No category grid lins are shown
exgraph1.BeginUpdate();
exgraph1.ValueSize = 8;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exShowGridLinesIf,0);
exgraph1.CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
189
|
No category ticks are shown
exgraph1.BeginUpdate();
exgraph1.ValueSize = 8;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exShowTicksIf,0);
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
188
|
Defines the lower and upper margins of the valueSize property (CTRL + Middle button and drag to resize the values)
exgraph1.BeginUpdate();
exgraph1.ValueSize = 8;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueSizeRange,"1,12");
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
187
|
Even though I set the AutoFit property to False, the control still gets resized when I click CTRL + Middle button
exgraph1.BeginUpdate();
exgraph1.ValueSize = 8;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueSizeRange,"0,8");
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.EndUpdate();
|
186
|
Defines the angle (in degrees) the value-line is rotated by, when the values goes up(positive) or down(negative)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueLineUpAngle,0);
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueLineDownAngle,90);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Green,Black,Red,Lime,Orange,Red";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,331,-1390,-276,1225,213",null);
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (value format ``)";
var_Serie.Type = "line";
exgraph1.EndUpdate();
|
185
|
Defines the additional angle (in degrees) the value-line is rotated by
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueLineAddAngle,0);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.EndUpdate();
|
184
|
Defines the distance to extend the value-line by
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueLineExt,12);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + value";
exgraph1.EndUpdate();
|
183
|
Defines the distance from the edge of the outer circle where the values are displayed
exgraph1.BeginUpdate();
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueDistOuterCircular,0);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.Type = "Pie";
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.ValuePoint = ",,,,,,,red,black,2";
exgraph1.EndUpdate();
|
182
|
Defines the distance from the edge of the inner circle where the values are displayed
exgraph1.BeginUpdate();
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueDistInnerCircular,8);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.Type = "Pie";
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.EndUpdate();
|
181
|
Defines the padding between rings of the "pie" chart-type
exgraph1.BeginUpdate();
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exPaddingInsidePie,12);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.Type = "Pie";
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exontrol.EXGRAPHLib.Serie var_Serie1 = exgraph1.Series.Add("141,139,331,276,225,213",null);
var_Serie1.Type = "Pie";
var_Serie1.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie1.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.EndUpdate();
|
180
|
Requests for a new layout once the serie's visible property is changed
exgraph1.BeginUpdate();
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exNewLayoutOnVisibleChange,false);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("1410,1390,331,276,225,213",null);
var_Serie.Type = "Pie";
var_Serie.ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
var_Serie.ValueFormat = "`<c>` + category + `<br><c>` + (percent format ``) + `%`";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
179
|
Prevents rotating the labels
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exRadialRotateLabels,false);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Series.Add("1410,1390,331,276,225,213",null).Type = "radarColumn";
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
178
|
Defines the angle (in degrees) to start the circular-compatible charts (radial or pie)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exCircularStartAngle,0);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Series.Add("1410,1390,331,276,225,213",null).Type = "radarColumn";
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
177
|
Defines polygonal instead of circular
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exRadarPolygonal,true);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Series.Add("1410,1390,331,276,225,213",null).Type = "radarColumn";
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
176
|
Defines the distance (proportionally with the valueSize property) between the first, next and last value of the same category and its border
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exMarginValueRatio,0.5);
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exPaddingValueRatio,0.5);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.Series.Add("9900,3300,980,190,90,8",null);
exgraph1.EndUpdate();
|
175
|
Ensures that the marginal labels of the value-axis ensure fit the axis's client-rectangle
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueAxisFitLabel,true);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
174
|
Prevents updating the margins/minimum/maximum of the value-axis when the user scrolls the data
exgraph1.BeginUpdate();
exgraph1.ValueSize = 6;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exUpdateRangeOnScroll,0);
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Data = "Volume";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
173
|
Defines the padding for labels and title of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueAxisPad,16);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
172
|
Defines the size (height for horizontal axis and width for vertical axis) to display the category-axis (line and ticks)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exValueAxisSize,16);
exgraph1.ValueAxis.OffsetLabel = "16,16";
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
171
|
Defines the padding for labels and title of the category-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exCategoryAxisPad,16);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
170
|
Defines the size (height for horizontal axis and width for vertical axis) to display the category-axis (line and ticks)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exCategoryAxisSize,16);
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
var_CategoryAxis.OffsetLabel = "0,-16";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
169
|
Defines the minimum/maximum portion (as a proportion of major unit, as a numeric-value between 0 and 1) to extend the axis before the first/after the last value of the serie (minimum, maximum value)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.extVisibleBeforeAxis,1);
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.extVisibleAfterAxis,1);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
168
|
Defines the number of digits to appear after the decimal point (as it is)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exDigits,-1);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410.1211,1390.8999,331.3421,276.8991,225.0023,213.2231",null).ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
167
|
Defines the number of digits to appear after the decimal point
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exDigits,3);
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410.1211,1390.8999,331.3421,276.8991,225.0023,213.2231",null).ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exValue | exontrol.EXGRAPHLib.ShowValueEnum.exLine | exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
166
|
Defines the inferior and superior limits of the number of major-unit intervals an axis can display
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exRangeMajorUnits,"2");
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
165
|
Defines the base major-units alternatives (separated by comma) the control uses to calculate the major-unit for the axes
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Misc(exontrol.EXGRAPHLib.MiscEnum.exBaseMajorUnits,"5");
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil";
exgraph1.Series.Add("1410,1390,331,276,225,213",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
164
|
Customizes the tooltips to show on category-axis, when the crosshair intersects the category-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.Format = "value + `°`";
var_ValueAxis.CursorFormat = "``";
exgraph1.CategoryAxis.CursorFormat = "`<b><fgcolor F0F0F0> ` + value + ` `";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain");
var_Serie.Type = "RangeColumn";
var_Serie.CursorFormat = "%V0 +`° - ` + %V1 + `°`";
exgraph1.SeriesColors = "green";
exontrol.EXGRAPHLib.Cursor var_Cursor = exgraph1.Cursor;
var_Cursor.Visible = true;
var_Cursor.SerieTooltipBackColor = "black";
var_Cursor.SerieTooltipForeColor = "rgb(254,254,254)";
var_Cursor.TooltipPad = 4;
var_Cursor.ShowCursorValueLine = false;
exgraph1.EndUpdate();
|
163
|
Defines the configuration options to show the grid lines and labels between for the overview panel
exgraph1.BeginUpdate();
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.Format = "value / 1000000";
var_ValueAxis.MajorUnit = 50000000;
exontrol.EXGRAPHLib.FormatGridLinesOptions var_FormatGridLinesOptions = exgraph1.CategoryAxis.OverviewGridLines;
var_FormatGridLinesOptions.Format = "`<fgcolor red><b>` + (value left 4)";
var_FormatGridLinesOptions.Color = "red";
var_FormatGridLinesOptions.Style = 1;
var_FormatGridLinesOptions.Width = 2;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exgraph1.SeriesColors = "blue";
exgraph1.Series.Add("Volume",null);
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
162
|
Add additional grid-lines for categories
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.FormatGridLinesOptions var_FormatGridLinesOptions = var_CategoryAxis.ChartGridLines;
var_FormatGridLinesOptions.Format = "value = `Pakistan`";
var_FormatGridLinesOptions.Align = exontrol.EXGRAPHLib.DrawTextFormatEnum.exTextCalcRect;
var_FormatGridLinesOptions.Width = 2;
var_FormatGridLinesOptions.Color = "black";
var_FormatGridLinesOptions.Skip = 1;
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "lime";
exgraph1.EndUpdate();
|
161
|
Add grid-lines for categories
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "lime";
exgraph1.EndUpdate();
|
160
|
Shifts horizontally or vertically the labels relative to their original positions
exgraph1.BeginUpdate();
exgraph1.ValueSize = 48;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.OffsetLabel = "0,-22";
var_CategoryAxis.Tfi = "<fgcolor red> bold";
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "lime";
exgraph1.EndUpdate();
|
159
|
Combines/Merges categories sharing consecutive names according to the Format property
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.CategoryAxis.Visible = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxes.Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter",null);
var_CategoryAxis.Format = "value";
var_CategoryAxis.Split = true;
var_CategoryAxis.MajorGridLines.Color = "black";
exgraph1.ValueAxis.Format = "value + `°`";
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "lime";
exgraph1.EndUpdate();
|
158
|
Combines/Merges categories sharing consecutive names according to the Format property
exgraph1.BeginUpdate();
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv";
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Date";
var_CategoryAxis.Format = "dateS(value left 7) format `MMM`";
var_CategoryAxis.Split = true;
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "msft";
var_Serie.Data = "Open,High,Low,Close";
var_Serie.Type = "candle";
exgraph1.EndUpdate();
|
157
|
Defines the category-axis's background color
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.CategoryAxis.Visible = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxes.Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter",null);
var_CategoryAxis.Format = "value";
var_CategoryAxis.Split = true;
var_CategoryAxis.Tfi = "bold";
var_CategoryAxis.Color = 14474460;
exgraph1.ValueAxis.Format = "value + `°`";
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.Series.Add("Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), De" +
"c(-3 3)","Romania").Type = "RangeColumn";
exontrol.EXGRAPHLib.Legend var_Legend = exgraph1.Legend;
var_Legend.Visible = true;
var_Legend.Dock = exontrol.EXGRAPHLib.PanelDockEnum.exLeft;
exgraph1.EndUpdate();
|
156
|
Defines the color, size, style, skip and step configuration options of the major ticks to be shown on the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value + `°`";
exontrol.EXGRAPHLib.TickOptions var_TickOptions = exgraph1.CategoryAxis.MajorTicks;
var_TickOptions.Color = "red";
var_TickOptions.Width = 4;
var_TickOptions.Style = 0;
var_TickOptions.Skip = 3;
var_TickOptions.Step = 2;
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "green";
exgraph1.EndUpdate();
|
155
|
Defines the color, size, style, skip and step configuration options of the major grid-lines to be shown by the value-axis on the chart panel
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value + `°`";
exontrol.EXGRAPHLib.GridLinesOptions var_GridLinesOptions = exgraph1.CategoryAxis.MajorGridLines;
var_GridLinesOptions.Color = "red";
var_GridLinesOptions.Width = 4;
var_GridLinesOptions.Style = 0;
var_GridLinesOptions.Skip = 3;
var_GridLinesOptions.Step = 2;
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "green";
exgraph1.EndUpdate();
|
154
|
Defines the color, size and style to display the line of the category-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value + `°`";
exontrol.EXGRAPHLib.LineOptions var_LineOptions = exgraph1.CategoryAxis.AxisLine;
var_LineOptions.Color = "red";
var_LineOptions.Width = 2;
var_LineOptions.Style = 0;
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "green";
exgraph1.EndUpdate();
|
153
|
Specifies the rotation angle (in degrees) for the title and labels of the category-axis, in 'labels,title' format
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value + `°`";
exgraph1.CategoryAxis.Angle = "-90";
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "green";
exgraph1.EndUpdate();
|
152
|
Defines the title of the category-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value + `°`";
exgraph1.CategoryAxis.Title = "<b>Range-Temperature";
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.SeriesColors = "green";
exgraph1.EndUpdate();
|
151
|
Changes the font attributes to apply on the title and labels of the category-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.Tfi = "<fgcolor red> Tahoma 7 bold";
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
150
|
Defines the direction of the category axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.Reverse = true;
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
149
|
Aligns the category-axis to bottom/right or top/left side of the view
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.Align = exontrol.EXGRAPHLib.AlignEnum.exAlignLeft;
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
148
|
Hides the category axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.Visible = false;
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
147
|
Customizes the labels to show on category axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
var_CategoryAxis.Format = "(index < 2 ? `<b>` : `<fgcolor gray>`) + value";
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
146
|
Defines the categories (method 2)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.Series.Add("China(1410),India(1390),United States(331),Indonesia(276),Pakistan(225),Brazil(213),Nigeria(211),Bangladesh(166),Russia(145),Me" +
"xico(130)",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
145
|
Defines the categories (method 1)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.CategoryAxis.Categories = "China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico";
exgraph1.Series.Add("1410,1390,331,276,225,213,211,166,145,130",null);
exgraph1.SeriesColors = "blue";
exgraph1.EndUpdate();
|
144
|
Adds multiple category-axes
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxes.Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter",null);
var_CategoryAxis.Format = "value";
var_CategoryAxis.Split = true;
var_CategoryAxis.Tfi = "bold";
var_CategoryAxis.MajorGridLines.Color = "black";
exgraph1.ValueAxis.Format = "value + `°`";
exgraph1.Series.Add("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17)," +
" Dec(6 15)","Spain").Type = "RangeColumn";
exgraph1.Series.Add("Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), De" +
"c(-3 3)","Romania").Type = "RangeColumn";
exontrol.EXGRAPHLib.Legend var_Legend = exgraph1.Legend;
var_Legend.Visible = true;
var_Legend.Dock = exontrol.EXGRAPHLib.PanelDockEnum.exLeft;
exgraph1.EndUpdate();
|
143
|
Redefines the major-unit of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.MajorUnit = 1000;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
142
|
Redefines the margins/limits of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.Min = -100;
var_ValueAxis.Max = 6000;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
141
|
Defines the start/end position of the value-axis (relative to full axis)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p").End = 0.75;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("a");
var_ValueAxis.End = 0.25;
var_ValueAxis.Visible = false;
var_ValueAxis.ColorChart = 16119285;
var_ValueAxis.Reverse = true;
var_ValueAxis.MajorGridLines.Width = 0;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
140
|
Customizes the tooltips to show on value-axis, when the crosshair hovers the chart
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.Format = "value format `0`";
var_ValueAxis.CursorFormat = "value format `0`";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.Cursor.Visible = true;
exgraph1.EndUpdate();
|
139
|
Hides the tooltip that's shown over the value-axis, while cursor hovers the serie
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.CursorFormat = "``";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.Cursor.Visible = true;
exgraph1.EndUpdate();
|
138
|
Shifts horizontally or vertically the labels relative to their original positions
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.OffsetLabel = "4,8";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
137
|
Defines the color to apply on the chart's background right to the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.ColorChart = "red";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
136
|
Changes the value-axis's background color
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Color = "red";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
135
|
Defines the color, size, style, skip and step configuration options of the major grid-lines to be shown by the value-axis on the chart panel
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.GridLinesOptions var_GridLinesOptions = exgraph1.ValueAxis.MajorGridLines;
var_GridLinesOptions.Color = "red";
var_GridLinesOptions.Width = 4;
var_GridLinesOptions.Style = 0;
var_GridLinesOptions.Skip = 3;
var_GridLinesOptions.Step = 2;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
134
|
Defines the color, size, style, skip and step configuration options of the major ticks to be shown on the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.TickOptions var_TickOptions = exgraph1.ValueAxis.MajorTicks;
var_TickOptions.Color = "red";
var_TickOptions.Width = 4;
var_TickOptions.Style = 0;
var_TickOptions.Skip = 3;
var_TickOptions.Step = 2;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
133
|
Defines the color, size and style to display the line of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.LineOptions var_LineOptions = exgraph1.ValueAxis.AxisLine;
var_LineOptions.Color = "red";
var_LineOptions.Width = 2;
var_LineOptions.Style = 0;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
132
|
Converts the serie's values to [0,1] range, as percentages (the values area always numbers between 0 and 1)
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.AsPercent = true;
var_ValueAxis.Format = "value * 100 + `%`";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
131
|
Defines the rotation angle (in degrees) for the title and labels of the axis, in 'labels,title' format
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = exgraph1.ValueAxis;
var_ValueAxis.Angle = "-90,-90";
var_ValueAxis.Title = "<b>mil";
var_ValueAxis.Format = "value ? value format `0` : ``";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
130
|
Defines the title of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Title = "<b>mil";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
129
|
Specifies the font attributes to apply on the title and labels of the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Tfi = "<fgcolor red> Tahoma 10 bold";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
128
|
Defines the direction of the value axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Reverse = true;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
127
|
Aligns the value-axis to bottom/right or top/left side of the view
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Align = exontrol.EXGRAPHLib.AlignEnum.exAlignRight;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
126
|
Customizes the labels of the value axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value ? `<c><b>` + (value format `0`) + `</b><br><c><fgcolor lightgray>mil` : ``";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
125
|
Customizes the labels of the value axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Format = "value ? (value format `0`) + ` mil` : ``";
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
124
|
Hides the value-axis
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.ValueAxis.Visible = false;
exgraph1.CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exgraph1.EndUpdate();
|
123
|
Changes the position of value-axis (click to change the value-axis's position)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
private void exgraph1_Click(object sender)
{
exgraph1.ValueAxes["a"].Position = 0;
}
//this.exgraph1.Click += new exontrol.EXGRAPHLib.exg2antt.ClickEventHandler(this.exgraph1_Click);
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p");
var_ValueAxes.Add("a").Color = "teal";
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
122
|
Access the value-axis giving its name (click to change the value-axis's background)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
private void exgraph1_Click(object sender)
{
exgraph1.ValueAxes["a"].ColorChart = 16119285;
exgraph1.Refresh();
}
//this.exgraph1.Click += new exontrol.EXGRAPHLib.exg2antt.ClickEventHandler(this.exgraph1_Click);
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p").Start = 0.25;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("a");
var_ValueAxis.End = 0.25;
var_ValueAxis.Visible = false;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
121
|
Specifies the name of the value axis to use
exgraph1.BeginUpdate();
exgraph1.ValueSize = 18;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("pop-ax");
var_ValueAxis.Name = "pop-ax";
var_ValueAxis.Start = 0.25;
var_ValueAxis.Align = exontrol.EXGRAPHLib.AlignEnum.exAlignLeft;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis1 = var_ValueAxes.Add("area-ax");
var_ValueAxis1.Name = "area-ax";
var_ValueAxis1.End = 0.25;
var_ValueAxis1.Visible = false;
var_ValueAxis1.ColorChart = 16119285;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "pop-ax";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
var_Serie.Vertical = true;
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "area-ax";
exontrol.EXGRAPHLib.Legend var_Legend = exgraph1.Legend;
var_Legend.Visible = true;
var_Legend.Dock = exontrol.EXGRAPHLib.PanelDockEnum.exLeft;
var_Legend.Align = exontrol.EXGRAPHLib.LegendAlignEnum.exStart;
exgraph1.EndUpdate();
|
120
|
Remove a value-axis (click to remove the first value-axis)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
private void exgraph1_Click(object sender)
{
exgraph1.ValueAxes.Remove(0);
}
//this.exgraph1.Click += new exontrol.EXGRAPHLib.exg2antt.ClickEventHandler(this.exgraph1_Click);
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p").Start = 0.25;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("a");
var_ValueAxis.End = 0.25;
var_ValueAxis.Visible = false;
var_ValueAxis.ColorChart = 16119285;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
119
|
Remove all value-axes (click to clear the value-axes)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
private void exgraph1_Click(object sender)
{
exgraph1.ValueAxes.Clear();
}
//this.exgraph1.Click += new exontrol.EXGRAPHLib.exg2antt.ClickEventHandler(this.exgraph1_Click);
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p").Start = 0.25;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("a");
var_ValueAxis.End = 0.25;
var_ValueAxis.Visible = false;
var_ValueAxis.ColorChart = 16119285;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
118
|
Adds multiple value-axes
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exontrol.EXGRAPHLib.ValueAxes var_ValueAxes = exgraph1.ValueAxes;
var_ValueAxes.Add("p").Start = 0.25;
exontrol.EXGRAPHLib.ValueAxis var_ValueAxis = var_ValueAxes.Add("a");
var_ValueAxis.End = 0.25;
var_ValueAxis.Visible = false;
var_ValueAxis.ColorChart = 16119285;
exontrol.EXGRAPHLib.CategoryAxis var_CategoryAxis = exgraph1.CategoryAxis;
var_CategoryAxis.Categories = "Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania";
var_CategoryAxis.MajorGridLines.Color = "lightgray";
exontrol.EXGRAPHLib.Series var_Series = exgraph1.Series;
exontrol.EXGRAPHLib.Serie var_Serie = var_Series.Add("4600,1300,747,579,0,422,42",null);
var_Serie.Name = "Population";
var_Serie.Axis = "p";
var_Serie.Type = "Line";
var_Serie.set_Misc(exontrol.EXGRAPHLib.SerieMiscEnum.exLineSize,3);
exontrol.EXGRAPHLib.Serie var_Serie1 = var_Series.Add("4458,3037,1018,2470,1784,1018,856",null);
var_Serie1.Name = "Area";
var_Serie1.Axis = "a";
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
117
|
Defines the foreground color to show the visible values within the control's legend
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendLabel,Color.FromArgb(0,0,1));
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendSymbol,Color.FromArgb(0,0,1));
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null).Name = "Area";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
var_Serie.Name = "Population";
var_Serie.Visible = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
116
|
Defines a different background color to show the visible values within the control's legend
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendUnit,Color.FromArgb(240,240,240));
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null).Name = "Area";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
var_Serie.Name = "Population";
var_Serie.Visible = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
115
|
Defines a different background color to show the hidden values within the control's legend
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendUnitHidden,Color.FromArgb(240,240,240));
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null).Name = "Area";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
var_Serie.Name = "Population";
var_Serie.Visible = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
114
|
Defines the foreground color to show the hidden values within the control's legend
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendLabelHidden,Color.FromArgb(220,220,220));
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exLegendSymbolHidden,Color.FromArgb(220,220,220));
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null).Name = "Area";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
var_Serie.Name = "Population";
var_Serie.Visible = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
113
|
Hides a symbol or item of the legend by code
exgraph1.BeginUpdate();
exgraph1.AutoFit = true;
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null).Name = "Area";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
var_Serie.Name = "Population";
var_Serie.Visible = false;
exgraph1.Legend.Visible = true;
exgraph1.EndUpdate();
|
112
|
Defines the percentage of transparency for displaying tooltips on series
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exSerieCursorTooltipTransparent,Color.FromArgb(75,0,0));
exgraph1.AutoFit = true;
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null);
exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
exgraph1.Cursor.Visible = true;
exgraph1.EndUpdate();
|
111
|
Defines the percentage of transparency for displaying tooltips on axes
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exAxisCursorTooltipTransparent,Color.FromArgb(75,0,0));
exgraph1.AutoFit = true;
exgraph1.Series.Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",null);
exgraph1.Series.Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",null);
exgraph1.Cursor.Visible = true;
exgraph1.EndUpdate();
|
110
|
Specifies the percent of transparency to show the overview-selection (0 indicates opaque, 50% indicates semi-transparent, and 100% indicates fully transparent)
exgraph1.BeginUpdate();
exgraph1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSelTransparent,Color.FromArgb(75,0,0));
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
109
|
Changes the color to show the overview's selection (EBN color)
exgraph1.BeginUpdate();
exgraph1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.set_Background32(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSel,0x1000000);
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
108
|
Changes the color to show the overview's selection (solid color)
exgraph1.BeginUpdate();
exgraph1.set_Background32(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSel,0x10000ff);
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
107
|
Changes the color to show the overview's selection
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSel,Color.FromArgb(255,0,0));
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
106
|
Changes the overview's background
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSelOut,Color.FromArgb(240,240,240));
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
105
|
Specifies the visual-appearance to display the left/right parts outside of the overview-selection
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSelOut,Color.FromArgb(240,240,240));
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
104
|
Adds left/ resize-margins of the overview's selection to resize it (EBN)
exgraph1.BeginUpdate();
exgraph1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.set_Background32(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSelResize,0x1000000);
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
103
|
Adds left/ resize-margins of the overview's selection to resize it
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exOverviewSelResize,Color.FromArgb(1,0,0));
exgraph1.ValueSize = 6;
exgraph1.Data = "C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt";
exontrol.EXGRAPHLib.Serie var_Serie = exgraph1.Series.Add(null,null);
var_Serie.Name = "aapl";
var_Serie.Data = "AAPL (open),AAPL (high),AAPL (low),AAPL (close)";
var_Serie.Type = "candle";
exgraph1.Overview.Visible = true;
exgraph1.EndUpdate();
|
102
|
Changes the colors to show the value's tooltip
exgraph1.BeginUpdate();
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exToolTipBackColor,Color.FromArgb(1,0,0));
exgraph1.set_Background(exontrol.EXGRAPHLib.BackgroundPartEnum.exToolTipForeColor,Color.FromArgb(255,255,255));
exgraph1.AutoFit = true;
exgraph1.Series.Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",null).ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
exgraph1.EndUpdate();
|
101
|
Changes the visual appearance of the borders of the tooltips
exgraph1.BeginUpdate();
exgraph1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.set_Background32(exontrol.EXGRAPHLib.BackgroundPartEnum.exToolTipAppearance,0x1000000);
exgraph1.AutoFit = true;
exgraph1.Series.Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",null).ShowValue = exontrol.EXGRAPHLib.ShowValueEnum.exPoint;
exgraph1.EndUpdate();
|